package cn.bigfire.wzdj.pojo.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Goods {

    Integer goods;
    String name;
    Integer pos;
    Integer buyCond;
    String buyCondTarget;
    Integer sellRule;
    Integer limitBuyType;
    Integer limitBuyNum;
    Integer rare;
    Integer free;
    Integer productId;
    Integer advertId;
    Integer multiple;
    String bgRes;
    Integer templateId;
    Integer costType;
    Integer isShowLimit;
    List<IdNum> reward = new ArrayList<>();
    List<IdNum> cost = new ArrayList<>();

/*
 {
			"goods": 20001,
			"name": "",
			"pos": 0,
			"buyCond": 0,
			"buyCondTarget": "",
			"sellRule": 2,
			"limitBuyType": 4,
			"limitBuyNum": 1,
			"rare": 0,
			"free": 0,
			"productId": "",
			"advertId": 0,
			"multiple": 100,
			"bgRes": "",
			"templateId": 0,
			"costType": 0,
			"isShowLimit": 0,
			"reward": [{
				"id": "f_1001",
				"num": 10
			}],
			"cost": [{
				"id": "diamond",
				"num": 23
			}]
		},
* */

}
